package com.aysafety.iotdataplatformclient.electromagneticPulse.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ElectromagneticPulseDao {

    int readHistroyDataCount(@Param("conditions") Map<String, Object> conditions);

    List<Map<String, Object>> readHistroyData(@Param("conditions") Map<String, Object> conditions,
        @Param("start") int start, @Param("prePage") int prePage);
}
